/* 学生版内页弹出窗效果 */
(function () {
  KISSY.use('node,overlay', function (S, Node, Overlay) {
    var o = new Overlay.Dialog({
      width: 357,
      headerContent: '新增',
      bodyContent: '<iframe scrolling="no" frameborder="0" src="student-overlay-add.html" width="357" height="208" style="*height:214px;"></iframe>',
      align: {
        points: ['cc', 'cc']
      }
    });

    KISSY.all('#add').on('click', function (e) {
      o.show();
    });
  });
})();
